import React, { useState, useEffect, useCallback } from "react";
import { Button } from "antd";

export const LargeFileSlice = () => {
  return (
    <div className="flex flex-col gap-4">
      <input type="file" />
      <div className="flex gap-4">
        <div>
          <Button>边读边计算hash</Button>
        </div>
        <div>
          <Button>一次性计算hash</Button>
        </div>
      </div>
      <div>
        <p>计算完成</p>
        <p>文件信息</p>
        <p>文件名</p>
        <p>文件类型</p>
        <p>文件大小</p>
        <p>文件hash</p>
      </div>
    </div>
  );
};
